class CreateDishSkills < ActiveRecord::Migration
  def self.up
    create_table :dish_skills do |t|
      t.integer :user_id
      t.integer :base_dish_id
      t.integer :level   # 当前等级，开始为0
      t.integer :ep      # 当前经验
      t.timestamps
    end
  end

  def self.down
    drop_table :dish_skills
  end
end
